import random
import string

# 定义密码长度和生成数量
password_length = 8
password_count = 10

# 定义密码字符集
characters = string.ascii_letters + string.digits

# 生成密码
passwords = []
for _ in range(password_count):
    password = ''.join(random.choice(characters) for _ in range(password_length))
    passwords.append(password)

# 打印生成的密码
for password in passwords:
    print(password)
